<template>
  <a-config-provider :locale="zh_CN">
      <div style="height:100%">
        <div class="header">
          <Header />
        </div>
        <router-view />
      </div>
  </a-config-provider>
</template>
<script>
import zhCN from 'ant-design-vue/es/locale/zh_CN';
import { defineComponent } from 'vue';
import Header from './components/Header.vue';
export default defineComponent({
  components:{Header},
  setup() {
      return {
          zh_CN:zhCN
      }
  }
});
</script>

<style lang="scss">
  .header {
    position: absolute;
    width:100%;
    height:80px;
    top:0;
    left:0;
    background: rgba(0, 122, 255, 0.1);
    z-index: 999;
    border-bottom: 2px solid rgb(0,122,255);
    padding:0;
    box-sizing: border-box;
  }
</style>